import Layout from '@/page/index/'

export default [{
        path: '/wel',
        component: Layout,
        redirect: '/wel/index',
        children: [{
            path: 'index',
            name: '首页',
            meta: {
                i18n: 'dashboard'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/wel/index')
        }, {
            path: 'dashboard',
            name: '控制台',
            meta: {
                i18n: 'dashboard',
                menu: false,
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
        }]
    },  {
        path: '/dict-horizontal',
        component: Layout,
        redirect: '/dict-horizontal/index',
        children: [{
            path: 'index',
            name: '字典管理',
            meta: {
                i18n: 'dict'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
        }]
    }, {
        path: '/dict-vertical',
        component: Layout,
        redirect: '/dict-vertical/index',
        children: [{
            path: 'index',
            name: '字典管理',
            meta: {
                i18n: 'dict'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
        }]
    }, {
        path: '/info',
        component: Layout,
        redirect: '/info/index',
        children: [{
            path: 'index',
            name: '个人信息',
            meta: {
                i18n: 'info'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/system/userinfo')
        }]
    },
    {
        path: '/desk',
        name: '公告详情',
        component: Layout,
        redirect: '/desk/bidBusinessHallDetail',
        children: [{
            path: 'bidBusinessHallDetail',
            name: '公告详情',
            meta: {
                i18n: 'bidBusinessDetail'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/desk/bidBusinessHallDetail')
        }]
    },
    {
        path: '/desk',
        name: '公告详情',
        component: Layout,
        redirect: '/desk/bidBusinessHallDetail',
        children: [{
            path: 'bidBusinessHallDetail',
            name: '公告详情',
            meta: {
                i18n: 'bidBusinessDetail'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/desk/bidBusinessHallDetail')
        }]
    },

    {
        path: '/approve',
        name: '流程设计',
        component: Layout,
        redirect: '/workFlow/view',
        children: [{
            path: '/workFlow/view',
            name: '审批流程',
            meta: {
                i18n: 'sign'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/workFlow/view')
        }]
    },

]
